package vip.liux.contracts.models.customer;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "customer_login")
public class CustomerLogin extends vip.liux.domain.entities.Entity<Long> {

    /**
     * 客户唯一标识ID
     */
    @Column(name = "uid", nullable = false)
    private String uid;

    /**
     * 登录提供者
     */
    @Column(name = "login_provider")
    private String loginProvider;

    /**
     * 提供者键
     */
    @Column(name = "provider_key")
    private String providerKey;

    /**
     * 提供者显示名称
     */
    @Column(name = "provider_display_name")
    private String providerDisplayName;
}